@(formulario: Form[Unidade])
@import helper._
@main("Unidade") {
	<div class="container">
		<form class="form-horizontal" method="post" action="@routes.Unidades.inserir()">
			<fieldset>
				<!-- Form Name -->
				<legend>@formulario("nome").valueOr("Nova unidade")</legend>
				
				<!-- Text input-->
				<div class="control-group">
					<label class="control-label" for="nome">Nome</label>
					<div class="controls">
						<input id="nome" name="nome" placeholder="" class="input-xlarge" required="" type="text">
					</div>
				</div>
				
				<!-- Text input-->
				<div class="control-group">
					<label class="control-label" for="abreviatura">Abreviatura</label>
					<div class="controls">
						<input id="abreviatura" name="abreviatura" placeholder="" class="input-small" required="" type="text">
					</div>
				</div>
				
				<!-- Button -->
				<div class="control-group">
					<label class="control-label" for="btn"></label>
					<div class="controls">
						<button id="btn" name="btn" class="btn btn-primary">Salvar</button>
					</div>
				</div>
			</fieldset>
		</form>
	</div>
}
